package com.migu.contacts.util;

import android.content.Context;

import com.umeng.commonsdk.UMConfigure;
import com.umeng.socialize.PlatformConfig;

public class UMHelper {
    public static void init(Context context) {
        UMConfigure.init(context, "66ebf4c7667bfe33f3af87a5", "umeng", UMConfigure.DEVICE_TYPE_PHONE, "");
        // 微信设置
        PlatformConfig.setWeixin("wx5283314075000bf1", "fb93edc4edda99948fb8416ed5c2806a");
        PlatformConfig.setWXFileProvider("com.tencent.sample2.fileprovider");
// QQ设置
        PlatformConfig.setQQZone("102391402", "OVR9cqrdATZR4See");
        PlatformConfig.setQQFileProvider("com.tencent.sample2.fileprovider");
        PlatformConfig.setSinaWeibo("2078880335", "73061aa29ad5acd9c751b51428afb921", "");
        //QQ官方sdk授权
//        Tencent.setIsPermissionGranted(true);
    }
}
